

export interface WorkoutPlan {
    id: string;
    userId: number;
    name: string;
    description: string;
    exercises: Exercise[];
    createdAt: Date;
}
  
export interface Exercise {
    id: string;
    name: string;
    sets: number;
    reps: number;
    weight: number;
    restTime: number; // 休息时间（秒）
  }
  